package com.example.demo.generator.scaffold.dto.stats;

import java.util.ArrayList;
import java.util.List;

/**
 * 统计查询响应。
 */
public class ScaffoldStatsResponse {

    private long total;

    private List<ScaffoldStatsResult> items = new ArrayList<>();

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<ScaffoldStatsResult> getItems() {
        return items;
    }

    public void setItems(List<ScaffoldStatsResult> items) {
        this.items = items != null ? items : new ArrayList<>();
    }
}
